<template>
    <van-pull-refresh v-model="refreshing" @refresh="onRefresh" immediate-check="false">

        <van-list id='draftList' v-model="loading5" :finished="finished5" :finished-text='!haveWFQDError ? "没有更多数据" : ""'
            :error-text="draftErrorMessage" @load="onLoad3" style="margin-bottom: 50px;">
            <van-cell v-for="(item, index) in list5" :key="index" @click="todetail(index, item, '3')">
                <div class="titlefont"> {{ item.title }}</div>
                <div class="infosfont"> 创建时间:{{ item.createdTime }}</div>
                <div class="infosfont"> 最后一次修改时间:{{ item.modifiedTime }}</div>
            </van-cell>
            <div v-show="!haveDraftData" class="text-c">
                <img width="100px" height="100px" :src="require('@/assets/images/pic_nodata.png')" alt="暂无数据"
                    style="margin: 120px 50px 0" @click="getListdata('draw')" />
            </div>
            <div v-show="haveDraftError" class="text-c">
                <img width="100px" height="100px" :src="require('@/assets/images/pic_neterror.png')" alt="获取数据失败"
                    style="margin: 120px 50px 0" @click="getListdata('draw')" />
                <div class="color-b font14" style="margin: 20px 0 0 15px">
                    获取数据失败!
                </div>
            </div>
        </van-list>

    </van-pull-refresh>
</template>

<script>
export default {

    data() {

        return {
            refreshing: false,



        }
    },

    methods:{

        onRefresh() {

        },


    },


    props: {
        memberList: {
            type: Array,
            default: () => [],
        },
    },
};
</script>